const net/url.encodeHost
9 uses
net/url (current package)
url.go#L78: encodeHost
url.go#L108: if mode == encodeHost || mode == encodeZone {
url.go#L222: if mode == encodeHost && unhex(s[i+1]) < 8 && s[i:i+3] != "%25" {
url.go#L234: if s[i:i+3] != "%25" && v != ' ' && shouldEscape(v, encodeHost) {
url.go#L243: if (mode == encodeHost || mode == encodeZone) && s[i] < 0x80 && shouldEscape(s[i], mode) {
url.go#L645: host1, err := unescape(host[:zone], encodeHost)
url.go#L653: host3, err := unescape(host[i:], encodeHost)
url.go#L667: if host, err = unescape(host, encodeHost); err != nil {
url.go#L866: buf.WriteString(escape(h, encodeHost))
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |